home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Meeting Pearls 4
/
Meeting Pearls Vol. IV (1996)(GTI - Schatztruhe)[!].iso
/
Contrib
/
Nessy-MP-Tools
/
wbargscript.doc
< prev
next >
Wrap
Text File
|
1995-09-17
|
3KB
|
94 lines
Copyright, Distribution:
========================
wbargscript is Copyright © 1995 by Angela Schmidt.
You may use this software for private use. If you want to use it
commercially, you must have a written permission by the author. Private
distribution is allowed. Distribution on Meeting Pearls CD-ROMs is
allowed, too. Commercial distribution is forbidden. All other rights
reserved.
Introduction:
=============
This program allows to start programs from workbench even if they have
been written for CLI usage and even if they different arguments each time
you use them. The arguments will be passed through multiple arguments
selection supported by your workbench. That's how it works:
Click once on the program icon, press the shift key, select all icons you
want to be passed as arguments and double-click the last one. You now may
release the shift key.
Now a program will be started and all selected icons will be passed as
arguments. The tooltypes of wbargscript are used to decide which program
is to be started.
Tooltypes:
==========
COMMAND=<command with some arguments>
This is the command to be called. The spaces where the arguements are to
be filled in are marked by "[]". The last of these tokens will be
replaced by all outstanding arguments. If there's no "[]" in the COMMAND
tooltype, arguments will be added at the end of the line.
ADDVOLUMENAME
Normally, the path will be only expanded until the root, so every
argument starts with a colon. ADDVOLUMENAME adds the volume name before
the colon.
NOQUOTES
There won't be passed quotes around the arguments.
NOMULTIARGS
If you set this tooltype there's only one argument allowed per token
"[]". If the user passes more icons than there are tokens available, an
error will occur.
USAGE
If the user passes too many or not enough arguments, the message passed
here will be displayed.
USAGECMD
If the user passes too many or not enough arguments, the command passed here
will be started. It is suggested to show an error message here.
Examples:
=========
COMMAND=IconAlign FROM [] HORIZONTAL TO []
ADDVOLUMENAME
Aligns some icons to the same line. IconAlign has been written by
Oliver Knorr <olk@johann.nbg.sub.org> and is freeware.
COMMAND=IconAlign FROM [] VERTICAL TO []
ADDVOLUMENAME
Aligns some icons to the same column. IconAlign has been written by
Oliver Knorr <olk@johann.nbg.sub.org> and is freeware.
COMMAND=List [] LFORMAT "%9l %8a %9d %8t %p%n" DATES ALL
ADDVOLUMENAME
Lists all files and directories passed in a nice format.
Author:
=======
Angela Schmidt
Finkenweg 26
89233 Neu-Ulm
0721/696307
Angela@rz.uni-karlsruhe.de